#import <UIKit/UIKit.h>
#import <CoreGraphics/CGGeometry.h>
#import <Foundation/Foundation.h>

@interface UIFilePickerController : UIViewController <UITableViewDelegate, UITableViewDataSource>
{
	id			delegate;
	NSArray			*fileTypes;
	NSMutableArray		*files;
	NSMutableArray		*selectedFiles;
	UIView			*pickerView;
	UINavigationBar		*navBar;
	UITableView		*filesTable;
	NSFileManager		*fileManager;
	int			dirCount;
}
+ (UIFilePickerController *) sharedPicker;
- (id) delegate;
- (void) setDelegate:(id)newDelegate;
- (NSArray *) fileTypes;
- (void) setFileTypes:(NSArray *)types;
- (NSString *) path;
- (void) setPath:(NSString *)newPath;
- (void) changePathToHome;
- (void) cancelAction;
- (void) openAction;
- (void) scanFiles;
@end	//endint	UIFilePickerController

@protocol UIFilePickerControllerDelegate <NSObject>
- (void) filePickerCancelled:(UIFilePickerController *)filePicker;
- (void) filePicker:(UIFilePickerController *)filePicker finishedWithFiles:(NSArray *)selectedFiles;
@end	//endprot	UIFilePickerControllerDelegate